package com.ict.web.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ict.common.annotation.Excel;
import com.ict.common.utils.StringUtils;
import com.ict.common.utils.bean.BeanUtils;
import com.ict.common.utils.uuid.IdUtils;
import com.ict.web.controller.file.domain.YzqFile;
import com.ict.web.controller.file.dto.YzqFileDTO;
import com.ict.web.domain.ContractInformation;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;

@Data
public class ContractInformationEditDto {
    /** 合同名称 */
    @Excel(name = "合同名称")
    @ApiModelProperty(value = "合同名称")
    private String contractName;

    /** 合同编号 */
    @Excel(name = "合同编号")
    @ApiModelProperty(value = "合同编号")
    private String contractNo;

    /** 合同金额 */
    @Excel(name = "合同金额")
    @ApiModelProperty(value = "合同金额")
    private BigDecimal contractAmount;

    /** 签约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "签约时间")
    @Excel(name = "签约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date signingTime;

    /** 合同扫描件（有公章） */
    @Excel(name = "合同扫描件", readConverterExp = "有=公章")
    @ApiModelProperty(value = "合同扫描件（有公章）")
    private YzqFileDTO scannedCopyOfContract;

    /**
     * 招标公告网址
     */
    @Excel(name = "招标公告网址")
    @ApiModelProperty(value = "招标公告网址")
    private String tenderAnnouncementWebsite;

    /**
     * 招标公告文件
     */
    @Excel(name = "招标公告文件")
    @ApiModelProperty(value = "招标公告文件")
    private YzqFileDTO tenderAnnouncementFile;

    /**
     * 中标公告网址
     */
    @Excel(name = "中标公告网址")
    @ApiModelProperty(value = "中标公告网址")
    private String websiteOfBidWinningAnnouncement;

    /**
     * 中标公告文件
     */
    @Excel(name = "中标公告文件")
    @ApiModelProperty(value = "中标公告文件")
    private YzqFileDTO bidWinningAnnouncementFile;

    /** 甲方 */
    @Excel(name = "甲方")
    @ApiModelProperty(value = "甲方")
    private String partyA;

    /** 甲方联系人 */
    @Excel(name = "甲方联系人")
    @ApiModelProperty(value = "甲方联系人")
    private String contactPersonA;

    /** 甲方联系电话 */
    @Excel(name = "甲方联系电话")
    @ApiModelProperty(value = "甲方联系电话")
    private String contactNumberA;

    /** 乙方 */
    @Excel(name = "乙方")
    @ApiModelProperty(value = "乙方")
    private String partyB;


    /** 乙方联系人 */
    @Excel(name = "乙方联系人")
    @ApiModelProperty(value = "乙方联系人")
    private String contactPersonB;

    /** 乙方联系电话 */
    @Excel(name = "乙方联系电话")
    @ApiModelProperty(value = "乙方联系电话")
    private String contactNumberB;
}
